package portdemo1;

public class rabit extends animal {

    public rabit() {
    }

    public rabit(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("兔子吃胡萝卜");
    }

}
